# main.py
from bird import Pigeon, Eagle, Penguin

def main():
    pigeon = Pigeon()
    eagle = Eagle()
    penguin = Penguin()

    print("==== 测试鸽子 ====")
    pigeon.display()
    pigeon.fy()
    pigeon.swim()

    print("\n==== 测试老鹰 ====")
    eagle.display()
    eagle.fy()
    eagle.swim()

    print("\n==== 测试企鹅 ====")
    penguin.display()
    penguin.fy()
    penguin.swim()

if __name__ == "__main__":
    main()

